/*

    首页

 */

/* 导航栏开始 */
.my-tab-cls {
  margin-top: 1px !important;
  width: 100% !important;
  background-color: #fe2929 !important;

  .nav {
    //left: 349px!important;
    position: static;

    ul {
      li {
        width: 160px !important;

        a {
          font-size: 20px !important;

          &.current {
            background-color: #d20303 !important;
          }

          &:hover {
            background-color: #d20303 !important;
          }
        }
      }
    }
  }
}

/* 导航栏结束 */

/* 所有分类开始 */
.wrap {
  width: 1152px;
  margin-bottom: 40px;

  .all-sort-list {
    float: left;
    width: 160px !important;
    border-color: transparent !important;
    padding: 0 !important;

    .item {
      display: block;
      background-color: #fff;
      height: 50px !important;

      h3 {
        //transition: transform 0.2s;

        i {
          margin-right: 2px;
        }

        width: 100% !important;
        text-align: center;
        cursor: pointer;
        height: 100% !important;
        border-bottom: 1px solid #eaeaea;
        line-height: 50px !important;
        font-size: 16px !important;
        color: #666;

        &:hover {
          //transform: translateX(-10px);
        }
      }
    }

    .hover {
      text-decoration: none;


      h3 {
        border-right: none;
        border-top: none;
        color: #fe2929;
      }
    }

    .qrcode {
      display: block;
      width: 156px;
      height: 190px;
      background-color: #fff;
      padding-top: 29px;

      img {
        width: 120px;
        height: 120px;
        display: block;
        margin: 0 auto;
      }
    }
  }

  /* 中间的 */

  .main-box {
    float: left;
    width: 793px;
    height: 640px;
    //background-color: pink;
    padding: 10px 10px 0 10px;
    /* 轮播图 */

    .swiper-container {
      //background-color: #FF0000;
      width: 773px;
      height: 270px;
      border-radius: 20px;
      overflow: hidden;

      a {
        width: 100%;
        height: 100%;
        display: block;

        img {
          width: 100%;
          height: 100%;
          display: block;
        }
      }

      /* 轮播点的样式设置 */

      .swiper-pagination-bullet {
        background-color: #fff;
        opacity: 1;

        &.swiper-pagination-bullet-active {
          width: 25px;
          border-radius: 4px;
        }
      }

      .swiper-button-prev,
      .swiper-button-next {
        width: 30px !important;
        height: 30px !important;
        background-color: rgba(0, 0, 0, .2) !important;
        border-radius: 50%;
        background-size: 7px 44px;
      }

    }


    /* 品类展示大盒子 */

    .showgoodness {
      margin-top: 12px;
      width: 773px;
      height: 348px;
      background: #fff;
      padding: 9px 9px 19px 9px;
      /* 品牌排行 */

      .rank {
        width: 100%;
        height: 149px;
        //background-color: pink;
      }

      /* 精品推荐 */

      .recommend {
        width: 100%;
        height: 149px;
        margin-top: 26px;
        //background-color: #007aff;
      }

      .rank,
      .recommend {
        /* 导航 */

        .com-title {
          a {
            margin-right: 19px;
            font-size: 12px;
            color: #666;

            &:hover {
              color: #f32222;
            }
          }

          .one {
            display: inline-block;
            text-align: center;
            line-height: 25px;
            width: 82px;
            height: 25px;
            border-radius: 12px;
            border: solid 1px #f32222;
            color: #f32222;
            margin-right: 19px;
          }

          .rank-btn {
            float: right;
            border: none;
            background-color: transparent;
            color: #666;
            font-size: 12px;
            cursor: pointer;
            line-height: 25px;
            margin-right: 0;
          }
        }

        /* 内容 */

        .com-content {
          margin-top: 14px;
          display: flex;
          justify-content: space-between;

          a {
            flex: 0 0 180px;
            height: 112px;
            display: inline-block;
            border-radius: 5px;
            overflow: hidden;

            &:hover {
              img {
                transform: translateX(-2px);
                opacity: .9;
              }
            }

            img {
              width: 100%;
              display: block;
              transition: transform 0.1s;
            }
          }
        }
      }
    }
  }

  /* 右边的盒子 */

  .right-box {
    width: 199px;
    height: 640px;
    //background-color: pink;
    float: left;
    padding-top: 10px;
    /* 上 */

    .rb-top {
      width: 201px;
      height: 40px;
      background-color: #fff;
    }

    /* 中 */

    .rb-mid {
      width: 200px;
      height: 388px;
      background-color: #ffffff;
      margin: 12px 0 24px 0;
      padding-top: 10px;

      .mid-title {
        p {
          text-align: center;

          &:nth-of-type(1) {
            font-size: 18px;
            color: #333;
            font-weight: bold;
            line-height: 18px;
            margin-bottom: 2px;
          }

          &:nth-of-type(2) {
            font-size: 10px;
            color: #c1c1c1;
            line-height: 10px;
          }
        }

        .mid-nav {
          padding-left: 10px;
          padding-right: 10px;

          li {
            height: 35px;
            border-bottom: 1px solid #eaeaea;
            line-height: 35px;
            cursor: pointer;
            transition: transform 0.1s;

            &:hover {
              transform: translateX(-5px);
            }

            span {
              &:nth-of-type(1) {

                background: url("../images/index/slid_04.png") no-repeat center center;
                background-size: contain;
              }

            }

            span {
              &:nth-of-type(1) {
                display: inline-block;
                font-style: normal;
                width: 15px;
                height: 15px;
                font-size: 12px;
                color: #fff;
                line-height: 15px;
                text-align: center;
              }

              &:nth-of-type(2) {
                margin-right: 65px;
              }

              &:nth-of-type(3) {
                display: inline-block;
                vertical-align: text-top;
                width: 13px;
                height: 15px;
              }
            }

            &:nth-of-type(1) {
              span {
                &:nth-of-type(1) {

                  background: url("../images/index/slid_01.png") no-repeat center center;
                  background-size: contain;

                }


                &:nth-of-type(3) {

                  background: url("../images/index/hot_01.png") no-repeat center center;
                  background-size: contain;
                }
              }
            }

            &:nth-of-type(2) {
              span {
                &:nth-of-type(1) {

                  background: url("../images/index/slid_02.png") no-repeat center center;
                  background-size: contain;

                }


                &:nth-of-type(3) {

                  background: url("../images/index/hot_02.png") no-repeat center center;
                  background-size: contain;
                }
              }
            }

            &:nth-of-type(3) {
              span {
                &:nth-of-type(1) {

                  background: url("../images/index/slid_03.png") no-repeat center center;
                  background-size: contain;

                }


                &:nth-of-type(3) {

                  background: url("../images/index/hot_03.png") no-repeat center center;
                  background-size: contain;
                }
              }
            }

            &:last-child {
              border-bottom: none;
            }
          }
        }
      }
    }

    /* 下 */

    .rb-bottom {
      position: relative;
      width: 200px;
      height: 166px;
      background-color: #ffffff;

      .tab-nav {
        padding-left: 37px;
        padding-top: 14px;
        margin-bottom: 13px;

        li {
          float: left;
          height: 31px;
          color: #333;
          font-size: 20px;
          cursor: pointer;

          &.tab-active {
            color: #f32222;
            border-bottom: 2px solid #f32222;
          }

          &:nth-of-type(1) {
            margin-right: 52px;
          }
        }
      }

      .tab-content {
        overflow: hidden;
        padding-left: 25px;
        padding-right: 14px;

        div {
          float: left;

          a {
            display: block;
            width: 160px;
            font-size: 12px;
            line-height: 20px;
            color: #333;
            overflow: hidden;
            white-space: nowrap;
            text-overflow: ellipsis;
            position: relative;
            padding-left: 11px;

            &::before {
              content: "";
              position: absolute;
              width: 5px;
              height: 5px;
              border-radius: 50%;
              background-color: #f32222;
              top: 7px;
              left: 0px;
            }

            &:hover {
              color: #f32222;

              &::before {
                background-color: #333;
              }
            }
          }
        }
      }
    }
  }
}

/* 所有分类结束 */

/* 热门品牌开始 */

.hot-brands {
  height: 518px;
  background-color: #fff;

  .hb {
    height: 100%;


    /* 品牌列表 */

    .hb-nav {
      display: flex;
      justify-content: space-between;
      flex-flow: row wrap;

      li {
        flex: 0 0 222px;
        height: 204px;
        margin-bottom: 21px;
        transition: box-shadow 0.1s;

        &:hover {
          box-shadow: 3px 7px 16px 2px rgba(0, 0, 0, 0.21);
        }

        a {
          display: block;
          width: 100%;
          height: 100%;
          //background-color: pink;

          img {
            width: 100%;
            height: 140px;
            display: block;
          }

          .item-content {
            width: 100%;
            height: 64px;
            //background-color: cyan;
            padding: 10px;
            border: 1px solid #eaeaea;
            border-top: none;

            div {
              &:nth-of-type(1) {
                margin-bottom: 7px;

                span {
                  &:nth-of-type(1) {
                    float: left;
                    font-size: 20px;
                    height: 20px;
                    line-height: 20px;
                    color: #333;
                  }

                  &:nth-of-type(2) {
                    float: right;
                    width: 45px;
                    height: 23px;
                    background-color: #ff3434;
                    color: #fff;
                    line-height: 23px;
                    text-align: center;
                  }
                }
              }

              &:nth-of-type(2) {
                span {
                  font-size: 12px;
                  color: #666;

                  &:nth-of-type(1) {
                    float: left;
                  }

                  &:nth-of-type(2) {
                    float: right;
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

/* 热门品牌结束 */

/* 所有分类和热门品牌 的 公共头部标题 */

.com-title2 {
  height: 40px;
  border-bottom: 2px solid #f32222;
  padding-left: 10px;
  line-height: 40px;
  margin-bottom: 19px;

  h2 {

    float: left;
    position: relative;
    font-size: 20px;
    color: #333;

    &::before {
      content: "";
      position: absolute;
      left: -10px;
      top: 10px;
      width: 4px;
      height: 20px;
      background-color: #f32222;
    }
  }

  a {
    float: right;
    font-size: 14px;
  }
}


/* 行业动态开始 */

.dynamic {
  height: 400px;
  background-color: #fff;

  .com-title2 {
    margin-bottom: 24px;
  }

  /* 内容 */

  .dynamic-content {
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: space-between;
    /* 左 */

    .dc-left {
      flex: 0 0 450px;
      height: 290px;
      background-color: #8effa9;

      a {
        display: block;
        width: 100%;
        height: 100%;
        position: relative;

        img {
          display: block;
          width: 100%;
          height: 100%;
        }

        p {
          width: 100%;
          height: 55px;
          background-color: rgba(19, 19, 19, .3);
          position: absolute;
          bottom: 0;
          left: 0;
          color: #fff;
          font-size: 20px;
          line-height: 55px;
          padding-left: 21px;
          overflow: hidden;
        }
      }
    }

    /* 中 */

    .dc-mid {
      flex: 0 0 448px;
      height: 290px;
      //background-color: pink;

      .dc-mid-nav {
        li {
          padding-bottom: 12px;
          height: 78px;
          padding-top: 20px;

          border-bottom: 1px solid #eaeaea;

          &:nth-of-type(1) {
            height: 58px;
            padding-top: 0;
          }

          a {
            display: block;
            width: 100%;
            height: 100%;


            h2 {
              font-size: 20px;
              color: #333;
              line-height: 20px;
              margin-bottom: 12px;
            }

            p {
              width: 448px;
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
              font-size: 14px;
              color: #333;
              line-height: 14px;
            }

            &:hover {
              h2 {
                color: #f32222;
              }
            }
          }
        }
      }
    }

    /* 右 */

    .dc-right {
      flex: 0 0 209px;
      height: 290px;
      background-color: #3fceff;

      a {
        display: block;
        width: 100%;
        height: 100%;

        img {
          display: block;
          width: 100%;
          height: 100%;
        }
      }
    }
  }

}

/* 新闻版块公共样式 */
.dc-mid-nav {
  li {
    padding-bottom: 12px;
    height: 78px;
    padding-top: 20px;

    border-bottom: 1px solid #eaeaea;

    &:nth-of-type(1) {
      height: 58px;
      padding-top: 0;
    }

    a {
      display: block;
      width: 100%;
      height: 100%;


      h2 {
        font-size: 20px;
        color: #333;
        line-height: 20px;
        margin-bottom: 12px;
      }

      p {
        width: 448px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        font-size: 14px;
        color: #333;
        line-height: 14px;
      }

      &:hover {
        h2 {
          color: #f32222;
        }
      }
    }
  }
}

/* 行业动态结束 */

/* 最新入驻、加盟资讯、创业问答等开始 */

.three-cell {
  height: 314px;
  background-color: #fff;

  .tc-content {
    height: 100%;
    display: flex;
    justify-content: space-between;
  }

  /* 左 */

  .tc-left {
    flex: 0 0 185px;
    height: 100%;
    //background-color: #8effa9;
    padding: 9px;
    border: 1px solid #eaeaea;

    .com-title2 {
      margin-bottom: 10px !important;
    }

    .swiper-container {
      width: 170px;
      height: 244px;

      a {
        display: block;
        width: 100%;
        height: 100%;

        img {
          display: block;
          width: 100%;
          height: 100%;
        }
      }

    }

    /* 轮播点样式 */

    .swiper-pagination-bullet {
      width: 21px;
      height: 8px;
      background-color: #fff;
      border-radius: 4px;
      opacity: 1;

      &.swiper-pagination-bullet-active {
        background-color: #f32222;
      }
    }
  }

  /* 中 */

  .tc-mid {
    flex: 0 0 469px;
    height: 100%;
    //background-color: pink;
    padding: 9px;
    border: 1px solid #eaeaea;

    .dc-mid-nav {
      li {
        a {
          p {
            color: #666;
          }
        }
      }
    }
  }

  /* 右 */

  .tc-right {
    flex: 0 0 468px;
    height: 100%;
    //background-color: #ffd3de;
    padding: 9px;
    border: 1px solid #eaeaea;

    .dc-mid-nav {
      li {
        a {
          p {
            color: #666 !important;
          }
        }
      }
    }
  }
}

/* 最新入驻、加盟资讯、创业问答等结束 */


/* 精选展会、美食攻略等开始 */

.t-cell {
  height: 555px;
  background-color: #fff;
  padding-top: 29px;
  //margin-bottom: 102px;
  padding-bottom: 102px;

  .t-cell-content {
    height: 100%;
    display: flex;
    justify-content: space-between;
    /* 左边 */

    .tcc-left {
      flex: 0 0 444px;
      height: 100%;
      border: 1px solid #eaeaea;
      padding: 9px;
      /* 图片 */

      .tcc-left-img {
        margin-bottom: 26px;

        a {
          width: 100%;
          height: 100%;
          display: block;

          img {
            display: block;
            width: 100%;
          }
        }
      }

      /* 底部信息 */

      .tcc-left-info {
        width: 100%;
        height: 46px;
        padding-left: 9px;
        //background-color: #f1f3ce;

        h2 {
          font-size: 20px;
          color: #333;
          margin-bottom: 6px;
        }

        div {
          padding-left: 13px;

          i {
            font-style: normal;
            font-size: 15px;
          }

          span {
            &:nth-of-type(1) {
              float: left;
              color: #333;
              font-size: 12px;
              line-height: 17px;

              i {
                color: #8bb1ff;
                line-height: 17px;
                margin-right: 3px;
                animation: jump 2s infinite;
              }
            }

            &:nth-of-type(2) {
              float: right;

              i {
                &:nth-of-type(1),
                &:nth-of-type(3) {
                  color: #8bb1ff;
                  margin-right: 3px;
                }

                &:nth-of-type(2),
                &:nth-of-type(4) {
                  color: #333;
                  font-size: 12px !important;
                  margin-right: 13px;
                }
              }
            }
          }
        }
      }
    }

    /* 右边 */

    .tcc-right {
      flex: 0 0 696px;
      height: 100%;
      border: 1px solid #eaeaea;
      padding: 9px;

      .tcc-right-nav {
        li {
          height: 170px;
          padding: 0 45px 20px 5px;

          a {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: space-between;

            img {
              flex: 0 0 233px;
              height: 145px;
              margin-right: 22px;
            }

            div {
              flex: 0 0 382px;
              padding-top: 15px;

              h2 {
                font-size: 20px;
                color: #333;
              }

              div {
                padding-top: 0;
                margin-top: 15px;
                margin-bottom: 11px;

                span {
                  font-size: 12px;
                  color: #8bb1ff;
                  margin-right: 15px;
                  font-size: 12px;
                }
              }

              p {
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                font-size: 14px;
                color: #666;
              }
            }
          }

          &:nth-of-type(2) {
            margin-top: 20px;
          }
        }
      }
    }
  }
}

/* 精选展会、美食攻略等结束 */

